package top.wangjiu.product.spring.service;

import top.wangjiu.reactive.rpc.spring.server.RpcService;
import top.wangjiu.service.interfaces.TwoService;

@RpcService(value = TwoService.class, version = 0)
public class TwoServiceImpl implements TwoService {

    @Override
    public String sayByeBye() {
        return "byebye";
    }

    @Override
    public Long getSum(Long one, Long two) {
        return one + two;
    }
}
